package org.september.pisces.user.permission.entity;

import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import org.september.smartdao.anno.AutoIncrease;
import org.september.smartdao.anno.Entity;
import org.september.smartdao.anno.Id;
import org.september.smartdao.common.BaseEntity;

import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.IsAutoIncrement;
import com.gitee.sunchenbin.mybatis.actable.annotation.IsKey;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;

import jakarta.validation.constraints.Size;

/**
 *
 **/
@Entity
@Table("pisces_operation_log")
public class OperationLog extends BaseEntity {

    /**
     *
     */
    @Id
    @AutoIncrease
    @IsKey
    @IsAutoIncrement
    @Column(name = "id", length = 20)
    private Long id;

    @Column(name = "action_uid", isNull = false)
    private Long actionUid;

    @Column(name = "action_username", isNull = false)
    private String actionUserName;

    @Column(name = "remark", isNull = false, type = MySqlTypeConstant.TEXT)
    private String remark;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Long getActionUid() {
        return actionUid;
    }

    public void setActionUid(Long actionUid) {
        this.actionUid = actionUid;
    }

    public String getActionUserName() {
        return actionUserName;
    }

    public void setActionUserName(String actionUserName) {
        this.actionUserName = actionUserName;
    }

}
